import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';
import { BasicJobEntity } from '../../common/entities/basic-job.entity';

@Entity('areas')
export class AreaEntity extends BasicJobEntity {
  @PrimaryGeneratedColumn('uuid')
  uuid: string;

  @Column('varchar', { comment: '区域名称' })
  name: string;

  @Column('varchar', { comment: '区域描述', nullable: true })
  description: string;
}
